<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/common.css">
    <style>
        input{
            height: 40px;
            width: 300px;
            padding-left: 10px;
            padding-right: 10px;
            /* ie盒子模型 */
            box-sizing: border-box;
            border: 1px solid #cccccc;
            /* outline: none; */
        }
        .username{
            border-radius: 10px 10px 0 0;
        }
        .password{
            border-radius: 0 0 10px 10px;
        }
        button{
            width: 300px;
            height: 45px;
            background-color: #1c6dc0;
            border: none;
            color: #ffffff;
            cursor: pointer;
        }
        button:hover{
            background-color: #538fca;
        }
    </style>
</head>
<body>
    <header class="tc">登录</header>
    <p class="tc pt80 pb50">
        <img src="./imgs/head.png" alt="">
    </p>
    <p class="tc">
        <input placeholder="输入用户名" class="username" type="text">
    </p>
    <p class="tc mb20">
        <input placeholder="输入密码" class="password" type="password">
    </p>
    <p class="tc">
        <button onclick="goIndex()">登录</button>
    </p>
    <script>
        function goIndex(){
            location.href="./index.html";
        }
    </script>
</body>
</html>